package cn.virens.server.netty_tcp;

import java.util.function.Consumer;

import cn.virens.server.netty_tcp.packet.TcpWritePacket;

public interface TCPServerManager {
	boolean write(TcpWritePacket packet);

	TCPServerChannel poolRm(String mac);

	TCPServerChannel poolGet(String mac);

	void poolEach(Consumer<TCPServerChannel> action);
}
